package com.es.bean;

import com.alibaba.fastjson.PropertyNamingStrategy;
import com.alibaba.fastjson.annotation.JSONType;

@JSONType(naming = PropertyNamingStrategy.SnakeCase)
public class Tender {

    private String productName;
    private String productAgency;
    private String noticeType;
    private String noticeTypeId;

    public Tender(String productName, String productAgency, String noticeType, String noticeTypeId) {
        this.productName = productName;
        this.productAgency = productAgency;
        this.noticeType = noticeType;
        this.noticeTypeId = noticeTypeId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductAgency() {
        return productAgency;
    }

    public void setProductAgency(String productAgency) {
        this.productAgency = productAgency;
    }

    public String getNoticeType() {
        return noticeType;
    }

    public void setNoticeType(String noticeType) {
        this.noticeType = noticeType;
    }

    public String getNoticeTypeId() {
        return noticeTypeId;
    }

    public void setNoticeTypeId(String noticeTypeId) {
        this.noticeTypeId = noticeTypeId;
    }

    @Override
    public String toString() {
        return "Tender{" +
                "productName='" + productName + '\'' +
                ", productAgency='" + productAgency + '\'' +
                ", noticeType='" + noticeType + '\'' +
                ", noticeTypeId='" + noticeTypeId + '\'' +
                '}';
    }
}
